name: EPG Update

on:
  schedule:
    - cron: '0 */3 * * *'  # 每3个小时执行一次
  workflow_dispatch:  # 手动触发

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      
    - uses: actions/checkout@v3
    - name: EPG Update
      run: |
        rm -f e.xml && wget https://epg.112114.xyz/pp.xml -O e.xml
        git config --global user.name vbskycn
        git config --global user.email 88164962@qq.com
        git add e.xml
        git commit -m "Update e.xml"
        git push -f origin master
        
